package dom.domain;

/**
 * Generaltype entity. @author MyEclipse Persistence Tools
 */

public class Generaltype implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;

	// Constructors

	/** default constructor */
	public Generaltype() {
	}

	/** full constructor */
	public Generaltype(Integer id, String name) {
		this.id = id;
		this.name = name;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "{id:'" + id + "', name:'" + name + "'}";
	}
	

}